package com.warm.pump.module.work.service;

import com.warm.pump.module.work.bean.po.gen.WorkSubject;
import com.warm.pump.frame.gen.bean.PageBean;

import java.util.List;
import java.util.Map;

/**
 * work_subject
 */
public interface IWorkSubjectService {

    WorkSubject queryObject(Long id);

    WorkSubject queryObject(Map<String, Object> map);

    List<WorkSubject> queryList(Map<String, Object> map);

    PageBean getPageBeanByMap(Map map, int pageNo, int pageSize, Long jobId);

    int queryTotal(Map<String, Object> map);

    void save(WorkSubject workSubject);

    void update(WorkSubject workSubject);

    void delete(Map<String, Object> map);

    void delete(Long id);

    void deleteBatch(Long[] ids);

    void run(Long[] ids);
}
